import request from "@/utils/request";
export const mobilelogin = (data) => request("user/mobilelogin", data, 'POST');
export const get_lists = (data) => request("banner/get_lists", data, 'POST');
export const goods_cate = (data) => request("shop/goods_cate", data);
export const goods_lists = (data) => request("shop/goods_lists", data);
export const goods_collect = (data) => request("shop/goods_collect", data, 'POST', false);
export const goods_collect_del = (data) => request("shop/goods_collect_del", data, 'POST', false);
export const cartAdd = (data) => request("cart/add", data, 'POST', false);
export const bbsList = (data) => request("bbs/get_lists", data);
export const praise_add = (data) => request("bbs/praise_add", data, 'POST', false);
export const praise_del = (data) => request("bbs/praise_del", data, 'POST', false);
export const commentAdd = (data) => request("bbs/comment_add", data, 'POST');
export const attentionArticleLists = (data) => request("bbs/attention_article_lists", data, 'POST');
export const cartList = (data) => request("cart/get_lists", data);
export const cartDel = (data) => request("cart/del", data, 'POST', false);
export const changeNum = (data) => request("cart/change_num", data, 'POST', false);
export const getInfo = (data) => request("user/user_info", data);
export const collectList = (data) => request("shop/collect_lists", data);
export const statistics = (data) => request("order/statistics", data);
export const getAddressList = (data) => request("address/get_lists", data, 'POST');
export const addressAdd = (data) => request("address/add", data, 'POST');
export const addressEdit = (data) => request("address/edit", data, 'POST');
export const addressInfo = (data) => request("address/get_info", data);
export const addressDel = (data) => request("address/del", data, 'POST', false);
export const myCoupon = (data) => request("coupon/my_coupon", data);
export const userEdit = (data) => request("user/edit", data, 'POST');
export const customLink = (data) => request("index/link", data);
export const yonghuxieyi = (data) => request("index/yonghuxieyi", data);
export const yinsixieyi = (data) => request("index/yinsixieyi", data);
export const changemobile = (data) => request("user/changemobile", data, 'POST');
export const inviteLog = (data) => request("user/invite_log", data);
export const goods_info = (data) => request("shop/goods_info", data, 'GET', false);
export const goumaixuzhi = (data) => request("index/goumaixuzhi", data, 'GET', false);
export const goodsCommentLists = (data) => request("shop/goods_comment_lists", data);
export const setDefault = (data) => request("address/set_default", data, 'POST', false);
export const getDefault = (data) => request("address/get_default", data, 'GET', false);
export const canUseCoupon = (data) => request("coupon/can_use_coupon", data);
export const orderCreate = (data) => request("order/create", data, 'POST');
export const orderLists = (data) => request("order/order_lists", data);
export const orderCancel = (data) => request("order/cancel", data, 'POST');
export const orderPay = (data) => request("pay/order_pay", data, 'POST');
export const orderConfirm = (data) => request("order/confirm", data, 'POST');
export const orderComment = (data) => request("order/comment", data, 'POST');
export const orderShouhou = (data) => request("order/shouhou", data, 'POST');
export const bbsEdit = (data) => request("bbs/edit", data, 'POST');
export const myArticle = (data) => request("bbs/my_article", data);
export const bbsDel = (data) => request("bbs/del", data, 'POST', false);
export const shouhouCancel = (data) => request("order/shouhou_cancel", data, 'POST', false);
export const articleInfo = (data) => request("bbs/article_info", data);
export const noticeLists = (data) => request("notice/notice_lists", data);
export const remindLists = (data) => request("notice/remind_lists", data);
export const noticeInfo = (data) => request("notice/notice_info", data);
export const likeLists = (data) => request("shop/like_lists", data, 'GET', false);
export const feedbackAdd = (data) => request("feedback/add", data, 'POST');
export const orderInfo = (data) => request("order/order_info", data);
export const poster = (data) => request("index/poster", data, 'GET', false);
export const bbsUserInfo = (data) => request("bbs/user_info", data, 'GET', false);
export const createPaypalPaymentUrl = (data) => request("paypal/createPaypalPaymentUrl", data, 'POST');
export const qidongImage = (data) => request("index/qidong_image", data, 'GET', false);
export const zhuxiaoxieyi = (data) => request("index/zhuxiaoxieyi", data, 'GET', false);
export const del_account = (data) => request("user/del_account", data, 'POST');
export const sendSms = (data) => request("sms/tencent_send", data, 'POST', false);
export const attention_add = (data) => request("bbs/attention_add", data, 'POST', false);
export const attention_del = (data) => request("bbs/attention_del", data, 'POST', false);
export const set_invited = (data) => request("user/set_invite", data, 'POST', true);
export const pay_stripe = (data) => request("pay_stripe/pay", data, 'POST', true);